<template>
    <ul class="news-title">
        <li>编号：{{ query.id }}</li>
        <li>标题{{ query.title }}</li>
        <li>内容：{{ query.content }}</li>
    </ul>
</template>
<script lang="ts" setup name="Detail">
import { toRefs } from 'vue';
import { useRoute } from 'vue-router';
const route = useRoute()
let { query } =toRefs( route)
</script>